﻿'Description:工序关联子工艺工序类接口
'Copyright (c) : 通力凯顿（北京）系统集成有限公司
'Writer:tianFW
'create Date:2018年12月5日
'Rewriter:
'Rewrite Date:
Public Interface uLMSStepRelevantToSonWFStepIBusiness
    ''' <summary>
    ''' 获取工序关联子工艺工序信息
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetStepRelevantToSonWFStepInfo(ByVal para As Dictionary(Of String, String)) As DataTable

    ''' <summary>
    ''' 删除原来的工序关联子工艺工序信息 创建新的关联信息
    ''' </summary>
    ''' <param name="ds"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function AddNewStepRelevantToSonWFSTeps(ByVal ds As DataSet) As Boolean

    ''' <summary>
    ''' 重组工艺子工艺工序关联子工艺工序 
    ''' </summary>
    ''' <param name="newWorkflowID">重组工艺ID</param>
    ''' <param name="oldWrokflwoID">原工艺ID</param>
    ''' <param name="oldWFStepIDs">重组工艺选择的原工艺子工艺序IDs</param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function CZWFStepRelevantToSonWFStep(ByVal newWorkflowID As String, ByVal oldWrokflwoID As String, ByVal oldWFStepIDs As String) As Boolean

    ''' <summary>
    ''' 获取工艺其他版本的子工艺
    ''' </summary>
    ''' <param name="workflowID">工艺ID</param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetSonWFOFOtherWF(ByVal workflowID As String) As DataTable
End Interface
